package com.shop.cereshop.business.param.tencent.im;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @description: 发送优惠券消息请求参数
 * @author zdd
 * @date 2025/11/10
 * @version 1.0
 */
@ApiModel("IM发送优惠券消息请求参数")
@Data
public class SendCouponMsgParam implements Serializable {

  private static final long serialVersionUID = 1L;

  @ApiModelProperty(value = "优惠券ID", required = true)
  @NotNull(message = "优惠券ID不能为空")
  private Long couponId;

  @ApiModelProperty(value = "接收者IM账号（单聊时必填）")
  private String receiverId;

  @ApiModelProperty(value = "群组ID（群聊时必填）")
  private String groupId;

}
